FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER Wang Jing

RUN mkdir -p /wjboot/monitor
RUN mkdir -p /wjboot/monitor/logs

WORKDIR /wjboot/monitor

EXPOSE 9090

ADD ./target/base-monitor.jar ./monitor.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "monitor.jar"]
